<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2018-02-09
  Time: 16:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
  <head>
    <title>$Title$</title>
    <script>
      function myRefersh(e) {

          const source=e.src;

          var index=source.indexOf("?")
          if(index>-1){
              var s =source.substring(0,index)
              var date=new Date();
              var time=date.getTime();
              e.src=s+"?time="+time;
          }else {
              var date=new Date();
              e.src=source+"?time="+date.getTime();
          }
          
      }
    </script>
  </head>
  <body>
  <div>
    <span>
      请输入验证码
    </span>
    <span>
      <img src="regist.do" onclick="myRefersh(this)">
    </span>
  </div>
  </body>
</html>
